<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .parent{
            display: table;
            table-layout: fixed;
        }
        .left,.right{
            display: table-cell;
            height: 300px;
        }
        .left{
           width: 300px;
           background-color: blueviolet;
        }
        .right{
            width: 1200px;
            background-color: antiquewhite;
        }
    </style>
</head>
<body>
    <!-- display属性的table相关值的应用
         优点：上述方案的问题在该方案中都没有
         缺点： overflow属性不仅解决了两列布局问题，同时设置了内容溢出的情况-->
    <div class="parent">
        <div class="left">左边定宽</div>
        <div class="right">右边自适应</div>
    </div>
</body>
</html>